<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
	    <script type="text/javascript">
	           var i = 8 ;
	           function show(){	                         
	              i-=1 ;
	              document.getElementById('show').innerHTML=i ;
	              window.setTimeout("show()",1000);           
	           }
	   	    </script>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh" content="7;url='<%=request.getContextPath()%>/index.jsp'">
<title>Insert title here</title>
</head>
<body onload="show();">

<font color="red" size="3">恭喜你，博文发表成功!<div id="show"></div>秒钟之后跳转到首页</font><br>
<a class="btn" href="<%=request.getContextPath()%>/index.jsp">如果长时间没跳转，请点这里。</a>
</body>
</html>




